package com.zoro.barn.inner.service.pp.product.service;

import com.zoro.barn.inner.service.pp.product.dao.ProductMapper;
import com.zoro.barn.inner.service.pp.product.entity.ProductEntity;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoxingwu
 */
@Service
public class ProductService {

    @Resource
    private ProductMapper productMapper;


    public List<ProductEntity> getByIds(List<String> ids) {
        return this.productMapper.selectBatchIds(ids);
    }
}
